<md-content class="page-content toolbar-page">
	<div class="page-toolbar" layout>
		<div flex layout layout-align="start center">
			<md-button class="md-primary" ui-sref="member.points">
				<span class="icon icon-chevron-left"></span>
				积分交易详情
			</md-button>
		</div>
	</div>
	<md-content class="page-body data-sheet">
		<div class="sheet-body">

			<section>
				<md-list>
					<md-item>
						<md-item-content>
							<div class="md-tile-left">{{detail.txtype|pointsTxType}}
							</div>
							<div class="md-tile-content"> <span ng-bind="detail.createtime|date:'fullDate'">
							</div>
						</md-item-content>
					</md-item>
				</md-list>
			</section>
			<section>
				<md-list>
					<md-item>
						<md-item-content>
							<div class="md-tile-left">时间
							</div>
							<div class="md-tile-content"> 
								<span ng-bind="detail.createtime|date:'shortTime'"></span>
							</div>
						</md-item-content>
					</md-item>
					<md-item>
						<md-item-content>
							<div class="md-tile-left">交易类型
							</div>
							<div class="md-tile-content"> 
								{{detail.txtype|pointsTxType}}
							</div>
						</md-item-content>
					</md-item>
					<md-item>
						<md-item-content>
							<div class="md-tile-left">积分额
							</div>
							<div class="md-tile-content"> 
								{{detail.pointamount}}
							</div>
						</md-item-content>
					</md-item>
					<md-item>
						<md-item-content>
							<div class="md-tile-left">交易后积分余额
							</div>
							<div class="md-tile-content"> 
								{{detail.points}}
							</div>
						</md-item-content>
					</md-item>
					<md-item ng-if="detail.theorder_id">
						<md-item-content>
							<div class="md-tile-left">关联订单
							</div>
							<div class="md-tile-content btn-link" ui-sref="member.order.detail({id:detail.theorder_id})">
								#{{detail.theorder_id}}
							</div>
						</md-item-content>
					</md-item>
				</md-list>
			</section>
		</div>
	</md-content>
</md-content>

